﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZHDJ.Data.Models.Org
{
    /// <summary>
    /// 人员历史表
    /// </summary>
    public class PartyOrgMemberHistory
    {
        #region 字段属性
        /// <summary>
        /// ID
        /// </summary>
        [Key]
        public string HistoryID { get; set; }

        /// <summary>
        /// 用户标识
        /// </summary>
        public string LoginID { get; set; }

        /// <summary>
        /// 用户名(用户账号) --用于登陆
        /// </summary>
        public string UserNo { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 手机
        /// </summary>
        public string MobileNo { get; set; }

        /// <summary>
        /// 身份证
        /// </summary>
        public string IdentityCard { get; set; }

        /// <summary>
        /// Email
        /// </summary>
        public string Email { get; set; }




        /// <summary>
        /// BranchID
        /// </summary>
        public string BranchID { get; set; }

        /// <summary>
        /// 组织负责人
        /// </summary>
        public string BranchRight { get; set; }

        /// <summary>
        /// 职务
        /// </summary>
        public string Post { get; set; }

        /// <summary>
        /// 职位   cyj20150613
        /// </summary>
        public string Position { get; set; }

        /// <summary>
        /// 生日
        /// </summary>

        public DateTime? Birthday { get; set; }

        /// <summary>
        /// 学历
        /// </summary>

        public string Educational { get; set; }

        /// <summary>
        /// 籍贯
        /// </summary>

        public string NativePlace { get; set; }

        /// <summary>
        /// 民族
        /// </summary>

        public string Nation { get; set; }

        /// <summary>
        /// 政治面貌 正式党员:1 预备党员:2 未知:3
        /// </summary>

        public string PoliticsLineament { get; set; }

        /// <summary>
        /// 入党时间
        /// </summary>

        public DateTime? JoinPartyDate { get; set; }

        /// <summary>
        /// 转正时间
        /// </summary>

        public DateTime? BeRegularDate { get; set; }

        /// <summary>
        /// 用户状态
        /// </summary>

        public string EmployeeStatus { get; set; }

        /// <summary>
        /// 奖惩情况
        /// </summary>

        public string RewardsPunishment { get; set; }

        /// <summary>
        /// 民主评议情况
        /// </summary>

        public string DemocraticAppraisal { get; set; }


        /// <summary>
        /// QQNumber
        /// </summary>

        public string QQNumber { get; set; }

        /// <summary>
        /// 是否第一次登陆
        /// </summary>
        public bool? IsFirstLogin { get; set; }




        /// <summary>
        /// 地址
        /// </summary>

        public string Address { get; set; }


        /// <summary>
        /// Gender
        /// </summary>

        public string Gender { get; set; }
        /// <summary>
        /// OrderNo
        /// </summary>

        public int OrderNo { get; set; }
        /// <summary>
        /// ImageUrl
        /// </summary>

        public string ImageUrl { get; set; }
        /// <summary>
        /// Password
        /// </summary>

        public string Password { get; set; }

        /// <summary>
        /// 是否党务工作着
        /// </summary>
        public bool? IsPartyWorker { get; set; }

        /// <summary>
        /// 是否在职
        /// </summary>
        public bool? IsIncumbency { get; set; }
        /// <summary>
        /// IsAgree
        /// </summary>

        public bool? IsAgree { get; set; }

        /// <summary>
        /// 飞信号
        /// </summary>

        public string feitionNo { get; set; }

        /// <summary>
        /// 是否志愿者
        /// </summary>
        public bool? isVolunteer { get; set; }

        /// <summary>
        /// 志愿者编号
        /// </summary>
        public string VolunteerNo { get; set; }

        /// <summary>
        /// 是否党代表
        /// </summary>
        public bool? isPartyDeputy { get; set; }

        /// <summary>
        /// 是否困难党员
        /// </summary>
        public bool? isHardParty { get; set; }

        /// <summary>
        /// 是否困难党员
        /// </summary>
        public DateTime? pwdOverTime { get; set; }

        /// <summary>
        /// 党员类型
        /// 0:普通
        /// 2:流出
        /// -1:浏览账号
        /// </summary>
        public string runSate { get; set; }

        /// <summary>
        /// 微信帐号
        /// </summary>
        public string WeiXinNo { get; set; }
        /// <summary>
        /// 工作地址
        /// </summary>
        public string WorkAddress { get; set; }

        /// <summary>
        /// 户籍地址
        /// </summary>
        public string CensusAddress { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyTimeEx { get; set; }

        /// <summary>
        /// 工作单位
        /// </summary>
        public string WorkUnit { get; set; }
        /// <summary>
        /// 单位职务
        /// </summary>
        public string UnitJob { get; set; }

        /// <summary>
        /// 转出时间
        /// </summary>
        public DateTime RunTime { get; set; }

        /// <summary>
        /// 转出原因
        /// </summary>
        public string Runreason { get; set; }

        /// <summary>
        /// 转出类型：1、管理员直接操作 2、组织关系转移 3组织管理员操作
        /// </summary>
        public int RunType { get; set; }

        /// <summary>
        /// 1-处分  2-转出  3-去世
        /// </summary>
        public int HistroyType { get; set; }

        /// <summary>
        /// 审核状态 0待审核 1通过  2驳回
        /// </summary>
        public int IsPass { get; set; }

        #endregion
    }
}
